Brawl - Diddy Kong - Action - 0x38 CatchTurn
Entry Script (Common)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- if ((InternalConstantInt(PreviousAction) Equal scalar(8)))
- FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CurrentFrame) }
- ChangeSubactionRestartFrame(CatchTurn)
- UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Float, address: 4 })] }
- else
- ChangeSubactionRestartFrame(CatchTurn)
- ReverseDirection
Exit Script (Common)